<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/templates/template.xhtml">
    <ui:define name="content">
        <h:form id="MainForm" align="center">
			<br />
            
		<div align="center" style="width : 800px; font-size : 14pt">
		<p:panel>
            <f:facet name="header" >
			<h3>Welcome to the Pharma Systems Application</h3>
            </f:facet>
            <br /> 
            <h:outputLabel value="Welcome User #{userBean.currentUser.firstName}" style="font-size: 12pt"/>
            <br /> <br />
        		<h:outputText value="The Pharma System Application is an application which consists 
        		of various subsystems which enables users to perform their day to day pharmaceutical duties 
        		in a quick and effective manner. Tasks that can be performed
        		include "  />
        		<br/> <br />
        			<h:outputLink value="userhome.jsf" >
        				<h:outputText value="User Subsystem" />  
        			</h:outputLink>
        			<br />
        			<h:outputLink value="medicationhome.jsf" >
        				<h:outputText value="Medication Subsystem"  />  
        			</h:outputLink>	
        			<br />
        			<h:outputLink value="prescriptionhome.jsf" >
        				<h:outputText value="Prescription Subsystem"  />  
        			</h:outputLink>	
        			<br />
        			<h:outputLink value="patienthome.jsf" >
        				<h:outputText value="Patient Subsystem"  />  
        			</h:outputLink>
        			<br />	
        			<h:outputLink value="inventoryhome.jsf" >
        				<h:outputText value="Inventory Subsystem"  />  
        			</h:outputLink>	
        			<br /><br />
        </p:panel>		
		</div>
		</h:form>
    </ui:define>
</ui:composition>
